FunctionReturns a number that represents the sound of a string.GrammarSOUNDEX ( string-expression )ParametersThe string-expression string.UsageThe value of the SOUNDEX function of a string is based on the first letter and the next three consonants except H, Y, and W. Two repeating letters are counted as one letter. For exampleSOUNDEX (' apples ')Based on the letters A, P, L, and S.The SOUNDEX function ignor
Time Limit: 2 seconds memory limit: 65536 KB
Soundex coding groups together words that appear to sound alike based on their spelling. For example, "can" and "khawn", "con" and "gone" wocould be equivalent under soundex coding.
Soundex Coding involves translating each word into a series of digits in which each digit represents a letter:
1 represents B, F, P
Tags: custom function client Results pronunciation pos Search Compare dexThe SOUNDEX () function is an algorithm that converts any text string into a letter pattern that describes the speech representation.He considered similar to pronounced characters and bytes, and was able to compare the pronunciation of the text rather than the letter.Eg: if there is an input error when searching for a customer named Y.lee in the library, the following SQL will no
# Include "iostream" # include "string" # include "map" using namespace STD; int main () {Map m; string STR, ans; int length, i; m ['B'] = 1, m ['F'] = 1, m ['P'] = 1, m ['V'] = 1, M ['C'] = 2, m ['G'] = 2, m ['J'] = 2, m ['K'] = 2, M ['q'] = 2, m [
Measure the test taker's basic programming skills.
Note:
1 subscript Processing
2. Review the meaning of the question and remove the Weight Based on the question.
3. How to write the code clearly and concisely.
#include #include const short
Comparison of common functions for SQL Server to Oracle
1. Absolute ValueS: Select ABS (-1) ValueO: Select ABS (-1) value from dual
2. INTEGER (large)S: Select ceiling (-1.001) ValueO: Select Ceil (-1.001) value from dual
3. Round (small)S: Select floor (-1.001) ValueO: Select floor (-1.001) value from dual
4. Round (truncation)S: Select cast (-1.002 as INT) ValueO: Select trunc (-1.002) value from dual
5. RoundingS: Select round (1.23456, 4) value 1.
Tags: tcap to_char SQL statement string Tor Mina 1.2 unit definitionPL/SQL single-line functions and group functions A function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PL Functions are divided into two main categories: Single-line function Group functions This article discusses how to take advantage of single-line functions and usage rules. Single-line funct
PL/SQL single-line functions and group functionsA function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PLFunctions are divided into two main categories:Single-line functionGroup functionsThis article discusses how to take advantage of single-line functions and usage rules.Single-line functions in SQLThere are many types of functions, including characters, number
, except that I and J are calculated in bytes.
SOUNDEX ()Returns a word with the same pronunciation as c1.Select SOUNDEX ('dawes') dawes SOUNDEX ('daws') daws, SOUNDEX ('dawson') from dualDawes Daws DawsonD200 D200 D250
TRANSLATE (,,)Replace the characters in c1 with those in c2 with c3.Select TRANSLATE ('fumble ', 'U'
PL/SQL single-row functions and group functions
A function has zero or multiple parameters and has a return value.Program. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided into two categories: single-row functions and group functions.
This article will discuss how to use single-row functions and use rules. Single Row functions in SQL
SQL and PL/SQL contain many types
FAQs about Oracle Development
SQL Server and Oracle are the most common databases in daily project development, but more beginners may be more familiar with SQL Server, because Microsoft is easy to use, it is silly. However, Oracle's position in the market cannot be ignored, while Oracle and SQL Server are still very different. This section describes some iss
The Oracle tutorial you are looking at is: Oracle functions. Pl/sql single-line functions and Group functions
A function is a program that has 0 or more parameters and has a return value. In SQL, Oracle builds a series of functions that can be called SQL or PL/SQL statements, and functions fall into two main categories:
Single line function
Group functions
Thi
Oracle String FunctionsRecently changed the new company, and back to the Oracle database, a lot of things have forgotten, just have an impression, these two nights smoked a bit of time, the oracle of the string of some processing functions to do a bit, for later review.Normally we use Oracle to have two main types of s
Differences between oracle and SQL (common functions) (3) ORACLE functions
BitsCN.com
Rn S: select patindex ('% d % q %', 'sdsfasdqe ') value O: oracle not found, however, instr can use the fourth parameter to control the number of occurrences. select INSTR ('sdsfasdqe ', 'SD', 1, 2) value from dual returns 6
24. substring S: select substring ('abcd',) value O: s
PL/SQL single-row functions and group functions
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided into two categories:
Single Row Function
Group functions
This article will discuss how to use single-row functions and use rules.
Single Row functions in SQL
SQL and PL/SQL contain many types of functions
Comparison of common functions of SQL Server and Oracle, sqlserveroracle
--------- Mathematical functions1. Absolute ValueS: select abs (-1) valueO: select abs (-1) value from dual2. INTEGER (large)S: select ceiling (-1.001) valueO: select ceil (-1.001) value from dual3. Round (small)S: select floor (-1.001) valueO: select floor (-1.001) value from dual4. Round (truncation)S: select cast (-1.002 as int) valueO: select trunc (-1.002) value from dual5.
PL/SQL single-row functions and group functions
A function is a program with zero or multiple parameters and a return value. Oracle has a series of built-in functions in SQL, which can be called SQL or PL/SQL statements. functions are mainly divided into two categories:Single Row Function
Group functions
This article will discuss how to use single-row functions and use rules.
Single Row functions in SQL
SQL and PL/SQL contain many types of functions,
PL/SQL single-line functions and group functionsA function is a program that has 0 or more parameters and has a return value. Oracle built a series of functions in SQL that can be called SQL or PLFunctions are divided into two main categories:Single-line functionGroup functionsThis article discusses how to take advantage of single-line functions and usage rules.Single-line functions in SQLThere are many types of functions, including characters, number
2.718281827. Take the base logarithm of e.S: select log (1, 2.7182818284590451) value 1O: select ln (2.7182818284590451) value from dual; 18. Use 10 as the base logarithm.S: select log10 (10) value 1O: select log (10, 10) value from dual; 19. SquareS: select SQUARE (4) value 16O: select power (4, 2) value from dual 1610. Take the square rootS: select SQRT (4) value 2O: select SQRT (4) value from dual 211. Evaluate the base power of any numberS: select power (3, 4) value 81O: select power (3, 4)
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.